package felix.rule.module.transaction;

import felix.rule.api.NodeConfiguration;
import lombok.Data;

@Data
public class SynchronizationNodeConfiguration implements NodeConfiguration<SynchronizationNodeConfiguration> {

    private Long duration;

    @Override
    public SynchronizationNodeConfiguration defaultConfiguration() {
        SynchronizationNodeConfiguration configuration = new SynchronizationNodeConfiguration();
        configuration.setDuration(5000L);
        return configuration;
    }
}
